#ifndef CAMPAIGNITEM_H
#define CAMPAIGNITEM_H



#include "models_global.h"
#include "ItemGroup.h"
#include "ItemModel.h"



#include <QList>



//static const QString CAMPAIGN_NAME = QT_TRANSLATE_NOOP("CampaignItem","Campaign");



class MODELSSHARED_EXPORT CampaignItem : public ItemGroup
{
    Q_OBJECT

public:

    CampaignItem(QObject *parent = 0);
    CampaignItem(const QString& name, QObject *parent = 0);

    //static CampaignItem* add(const QString& name = QString());
    //static CampaignItem* take(const QString& name);

    //static QList<CampaignItem*> campaigns();
    //static CampaignItem* campaign(const QString& name);
    //ItemModel* model() const;

    void setFilePath(const QString& file_path);
    QString filePath() const;


protected:

    virtual void setCustomData(const int &, const QVariant &);
    virtual QVariant customData(const int &) const;


    //static QList<CampaignItem*> c_campaigns;

    //QPointer<ItemModel> m_model;
    QString m_filePath;


};

#endif // CAMPAIGNITEM_H
